package org.hengguan.base.contest.model.contest;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.experimental.Accessors;


@Builder
@Getter
@TableName("tb_contest_sign_group")
@ApiModel(value="SignGroupModel对象", description="")
public class SignGroupModel extends Model<SignGroupModel> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    @TableField("pl_id")
    private Integer plId;

    @TableField("pl_name")
    private String plName;

    @TableField("pl_telephone")
    private String plTelephone;

    @TableField("pl_sex")
    private String plSex;

    @TableField("pl_address")
    private String plAddress;

    @TableField("is_seed")
    private Integer isSeed;

    @TableField("group_leader")
    private String groupLeader;

    @TableField("leader_name")
    private String leaderName;

    @TableField("table_number")
    private Integer tableNumber;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
